package com.qyhl.webtv.module_news.news.union.town2;


import com.qyhl.webtv.commonlib.entity.news.UnionBean;

import java.util.List;

/**
 * Created by qyhl on 2018/2/26.
 */

public interface Town2ListContract {
    interface Town2ListView {
        void setData(List<UnionBean> beanList);

        void setError(String msg);

        void setEmpty(String msg);

        void setNetError(String msg);
    }

    interface Town2ListPresenter {
        void getData(String sectionId);

        void setData(List<UnionBean> beanList);

        void setError(int code, String msg);
    }

    interface Town2ListModel {
        void getData(String sectionId);
    }
}
